import { Controller, Get, Query } from '@nestjs/common';
import { WeComService } from './we-com.service';
import { Public } from '@/common/decorators/public.decorator';


@Controller('weCom')
export class WeComController {
  constructor(
    private readonly weComService: WeComService,

  ) { }

  @Public()
  @Get('getSignature')
  async getSignature(@Query() query) {
    return await this.weComService.generateQWSignature(query);
  }
}
